<body>
<div class="path fn-clear"><span class="fb">首页</span><a href="###">欢迎页面</a></div>
<div class="m5 gray fn-f14">
<h5 class="blue m5"><i class="iconfont">&#xF038;</i> 程序说明</h5>
<table class="table table-horizontal">
    <tr><th class="w100 border">系统环境:</th><td>{if PATH_SEPARATOR==':'}Linux{else}WinNT{/if}/<?php echo $_SERVER['SERVER_SOFTWARE'] ; ?></td></tr> 
    <tr><th>服务器地址:</th><td>{$_SERVER['SERVER_ADDR']}:{$_SERVER['SERVER_PORT']}</td></tr>
    <tr><th>服务器时间:</th><td>{date('Y-m-d H:i:s',$_SERVER['REQUEST_TIME'])}</td></tr>
    <tr><th>脚本超时时间:</th><td><?php echo get_cfg_var("max_execution_time") ; ?> 秒</td></tr>
    <tr><th>支持上传大小</th><td><?php echo get_cfg_var("upload_max_filesize")?get_cfg_var("upload_max_filesize"):"不允许上传文件" ; ?></td></tr>
    <tr><th>被屏蔽的函数:</th><td style="word-break:break-all;word-wrap:break-word"><?php echo get_cfg_var("disable_functions")?get_cfg_var("disable_functions"):"无" ; ?></td></tr>
</table>
<h5 class="blue m5"><i class="iconfont">&#xF038;</i> 关于程序</h5>
<table class="table table-horizontal">
    <tr><th class="w100 border">程序版本:</th><td>{$config['APP_NAME']} v{$config['APP_VER']} <a href="###" url="{url('appmanage/update', array('app'=>'admin','var'=>$config['APP_VER']))}" class="get" tip="检查《CPAPP应用框架》APP是否有最新版本。" title="检查是否更新"><i class="icon fn-f18 blue">&#xf021;</i></a></td></tr> 
    <tr><th>程序信息:</th><td>PHP+MYsql/Sqlite,CanPHP</td></tr>
    <tr><th>版权所有:</th><td><a href="http://www.Easyes.com.cn" target="_blank">http://www.Easyes.com.cn</a></td></tr>
</table>
<h5 class="blue  m5"><i class="iconfont">&#xF038;</i> 程序授权</h5>
<table class="table table-horizontal">
    <tr><th class="w100 border">程序版本:</th><td class="red">如果您已经购买了授权,可在我们的授权中心查询授权信息。<a href="###" url="{url('appmanage/vipuser', array('app'=>SOFT_NAME,'url'=>$_SERVER['SERVER_NAME']))}" class="get" tip="查看我的授权信息" title="获取授权信息"><span class="vip">获取授权信息</span></a></td></tr> 
</table>
</div>
</body>
<script type="text/javascript">
Do('base','Dialog',function(){
  $('.icon').click(function(){
    var css = this;
    $(this).html('<img src="__PUBLIC__/common/images/loading.gif" />');
    setTimeout(function(){
      $(css).html('<i class="icon fn-f18 blue">&#xf021;</i>');
    }, 8000);
    clearTimeout();
  });
  $('.vip').click(function(){
    var css = this;
    $(this).html('<img src="__PUBLIC__/common/images/loading.gif" />');
    setTimeout(function(){
      $(css).html('<span class="vip">获取授权信息</span>');
    }, 8000);
    clearTimeout();
  });
  $('.get').click(function(){
    $(this).cpGet();
  });
})
</script>